<template>
  <header>
    <ul>
      <li>工号 : A77777</li>
      <li>姓名 : 管理员</li>
      <li>退出</li>
    </ul>
  </header>
</template>

<script>
export default {
  data() {
    return {};
  },

  mounted() {},
  methods: {}
};
</script>

<style scoped>
/* 头部组件 */
header {
  background-color: #e3e4e5;
  padding-left: 20px;
  padding-right: 20px;
  height: 30px;
  line-height: 30px;
  font-size: 12px;
}
header ul {
  float: right;
}
header > ul > li {
  display: inline-block;
  color: #999;
  text-align: center;
}
header > ul > li:hover {
  color: #eb6100;
  cursor: pointer;
}
header > ul > li:not(:last-child)::after {
  width: 1px;
  height: 9px;
  content: "";
  display: inline-block;
  clear: both;
  background-color: #ccc;
  margin-left: 9px;
  margin-right: 9px;
}
</style>